ackage asd;

import java.util.Scanner;

import com.sun.org.apache.xpath.internal.operations.Equals;

public class Dome4 {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String a,b,c;
		
		System.out.println("输入用户名：");
		a = scan.next();
		System.out.println("输入密码：");
		b = scan.next();
		System.out.println("再次输入密码：");
		c = scan.next();
		if (b.equals(c)) {
			System.out.println("恭喜您，注册成功");
		}
		else {
			System.out.println("对不起，您两次输入的密码不一致，请重新输入");
		}
	}

}